-- Banfail by Stouie
-- Hacked check configs for all supported toons until proper configuration is implemented

-- Stoumule testing checks

BF_DefaultChecks_Stoumule = {

    -- healing role
    [ "raid healing" ] = {
    
        -- must be in primary spec
        [ "spec" ] = {
            match_all = true,
            [ 1 ] = { "spec", 1 },
        },
        
        -- must have my healing mace equipped
        [ "main hand" ] = {
            match_all = true,
            [ 1 ] = { "equipped", "MainHandSlot", "item:20836:0:0:0:0:0:0:313489694:6" },
            [ 2 ] = { "enchant", "MainHandSlot", 0 },
        },
        
        -- proper glyphs
        [ "glyph" ] = {
            match_all = true,
            [ 1 ] = { "glyph", 10 },
        },
        
        -- proper stance
        [ "stance" ] = {
            match_all = true,
            [ 1 ] = { "stance", "Tree of Life" },
        },
        
        -- minimal item level
        [ "no RP" ] = {
            match_all = true,
            [ 1 ] = { "ilvl", nil, 200 }, -- nil slot name equals "all slots"
        },
        
        -- have enough reagents
        [ "reagents" ] = {
            match_all = true,
            [ 1 ] = { "itemcount", "Dream Shard", 20 }
        }
    }
}

-- Stouie the resto druid

BF_DefaultChecks_Stouie = {

    -- always succeeds
    [ "awesome" ] = {
    },

    -- raid healing
    [ "pve" ] = {

        -- must be in primary spec
        [ "spec" ] = {
            match_all = true,
            [ 1 ] = { "spec", 1 },
        },

        -- must have my healing mace equipped
        [ "main hand" ] = {
            match_all = true,
            [ 1 ] = { "equipped", "MainHandSlot", "item:45147:3834:0:0:0:0:0:-2031248640:80" },
        },
        
        -- FIXME: ensure I am not using pvp gear - resilience == 0

        -- proper stance
        [ "stance" ] = {
            match_all = true,
            [ 1 ] = { "stance", "Tree of Life" },
        },

        -- minimal item level
        [ "no RP" ] = {
            match_all = true,
            [ 1 ] = { "ilvl", nil, 200 }, -- nil slot name equals "all slots"
        },

        -- have enough reagents
        [ "reagents" ] = {
            match_all = true,
            [ 1 ] = { "itemcount", "Wild Spineleaf", 10 }
        },

        -- and the egg until I get the mount
        [ "egg" ] = {
            match_all = true,
            [ 1 ] = { "itemcount", "Mysterious Egg", 1 }
        },
    },

    -- arena pvp
    [ "arena" ] = {

        -- must be in secondary spec
        [ "spec" ] = {
            match_all = true,
            [ 1 ] = { "spec", 2 },
        },

        -- must have my healing mace equipped
        [ "main hand" ] = {
            match_all = true,
            [ 1 ] = { "equipped", "MainHandSlot", "item:45147:3834:0:0:0:0:0:-2031248640:80" },
        },
        
        -- pvp trinket
        [ "trinket" ] = {
            match_all = false,
            [ 1 ] = { "equipped", "Trinket0Slot", "item:46081:0:0:0:0:0:0:0:80" },
            [ 2 ] = { "equipped", "Trinket0Slot", "item:42122:0:0:0:0:0:0:0:80" },
        },

        -- minimal item level
        [ "no RP" ] = {
            match_all = true,
            [ 1 ] = { "ilvl", nil, 200 }, -- nil slot name equals "all slots"
        },

        -- have enough water
        [ "water" ] = {
            match_all = true,
            [ 1 ] = { "itemcount", "Star's Sorrow", 20 }
        },

        -- and the egg until I get the mount
        [ "egg" ] = {
            match_all = true,
            [ 1 ] = { "itemcount", "Mysterious Egg", 1 }
        },

        -- FIXME: add check for stats - resilience
    }
}

-- Abigor the cheated DK

BF_DefaultChecks_Abigor = {

    -- always succeeds
    [ "awesome" ] = {
    },

    -- raid tanking
    [ "tank" ] = {

        -- must be in proper spec
        [ "spec" ] = {
            match_all = true,
            [ 1 ] = { "spec", 2 },
        },

        -- must have properly enchanted weapon equipped
        [ "main hand" ] = {
            match_all = true,
            [ 1 ] = { "equipped", "MainHandSlot", "item:42318:3847:3450:3468:0:0:0:0:80" }
        },

        -- proper stance
        [ "stance" ] = {
            match_all = true,
            [ 1 ] = { "stance", "Frost Presence" },
        },

        -- minimal item level
        [ "no RP" ] = {
            match_all = true,
            [ 1 ] = { "ilvl", nil, 200 }, -- nil slot name equals "all slots"
        },
    },

    -- arena pvp
    [ "arena" ] = {

        -- must be in proper spec
        [ "spec" ] = {
            match_all = true,
            [ 1 ] = { "spec", 1 },
        },

        -- must have my healing mace equipped
        [ "main hand" ] = {
            match_all = true,
            [ 1 ] = { "equipped", "MainHandSlot", "item:42318:3368:3450:3468:0:0:0:0:80" }
        },

        -- pvp trinket
        [ "trinket" ] = {
            match_all = false,
            [ 1 ] = { "equipped", "Trinket0Slot", "item:46082:0:0:0:0:0:0:0:80" },
            [ 2 ] = { "equipped", "Trinket1Slot", "item:46082:0:0:0:0:0:0:0:80" },
        },

        -- minimal item level
        [ "no RP" ] = {
            match_all = true,
            [ 1 ] = { "ilvl", nil, 200 }, -- nil slot name equals "all slots"
        },

        -- glyph of HC please
        [ "glyph" ] = {
            match_all = true,
            [ 1 ] = { "glyph", 64298 },
        },

        -- FIXME: add check for stats - resilience
    }
}

-- Tardzin teh... retard

BF_DefaultChecks_Tardzin = {

    -- always succeeds
    [ "awesome" ] = {
    },

    -- tanking
    [ "tank" ] = {

        -- must be in proper spec
        [ "spec" ] = {
            match_all = true,
            [ 1 ] = { "spec", 1 },
        },

        -- must have properly enchanted weapon equipped
        [ "main hand" ] = {
            match_all = true,
            [ 1 ] = { "equipped", "MainHandSlot", "item:37852:3847:0:0:0:0:0:1703050560:80" }
        },

        -- proper stance
        [ "stance" ] = {
            match_all = true,
            [ 1 ] = { "stance", "Frost Presence" },
        },

        -- minimal item level
        [ "no RP" ] = {
            match_all = true,
            [ 1 ] = { "ilvl", nil, 187 }, -- nil slot name equals "all slots"
        },
    },
}

-- EOF --
